<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JAvaScript事件处理演示</title>
</head>
<body>
<button id="btn_test"onclick="click_me();">点我</button>

<form action=""onsubmit="register_check();">
    <fieldset>
        <legend>新用户注册</legend>
        <label>用户名</label><input type="text" name="u_name" id="u_name"><strong>用户名不大于6位</strong><br>
        <label>密码</label><input type="password" name="u_pwd" id="u_pwd"><strong>密码不大于6位</strong><br>
        <label>确认密码</label><input type="password" name="u_pwd2" id="u_pwd2"><strong>两次密码必须保持一致</strong><br>
        <input type="submit"value="用户注册">
        <input type="button"value="重置"onclick="clear_info()">
    </fieldset>
</form>

<script src="js_two.js"></script>
</body>
</html>